﻿using ITXHWEB.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using ReflectionStudio.Core.Events;
namespace ITXHWEB.Controllers
{
    /// <summary>
    /// 仅结束无机台
    /// </summary>
    public partial class JLTKGPDCController : ITXController
    { 
        public JLTKGPDCController()
        { 
            if (!IsLogOn)
            { 
                return;
            } 
            MAPP = "JLTKGPDC";
            MABF.PDCTYPE = "QTYPROD"; 
            foreach (KeyValuePair<string, object> kp in ENVMAIN)
            {
                TempData[kp.Key] = kp.Value;
            }
        }
        public ActionResult JLTKGPDC()
        {
            if (!IsLogOn)
            {
                return View();
            }
            MABF.PDCTYPE = "QTYPROD";
            ViewBag.IsPDCReady = MABF.IsPDCReady;
            ViewBag.IsABPReady = MABF.IsABPReady;
            ViewBag.IsAMReady = MABF.IsAMReady;
            ViewBag.IsSTEPReady = MABF.IsSTEPReady;
            ViewBag.IsStaffReady = MABF.IsStaffReady;
            ViewBag.IsStartReady = MABF.IsStart;
            ViewBag.IsGotABE = MABF.IsGotABE;
            ViewBag.IsEndReady = MABF.IsEndReady; 
            ViewBag.ReturnUrl = Url.Action("JLTKGPDC");
            return View();
        }
    }
}
